<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>学生表</title>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  <script type="text/javascript">
  //编写自定义JS代码
  </script>
 </head>
 <body>
  <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="studentController.do?doAdd" >
					<input id="id" name="id" type="hidden" value="${studentPage.id }"/>
		<table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
				<tr>
					<td align="right">
						<label class="Validform_label">
							学号:
						</label>
					</td>
					<td class="value">
					     	 <input id="stuNo" name="stuNo" type="text" maxlength="50" style="width: 150px" class="inputxt"  validType="student,stu_no,id" datatype="*" ignore="checked" />
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">学号</label>
						</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							学生姓名:
						</label>
					</td>
					<td class="value">
					     	 <input id="stuName" name="stuName" type="text" maxlength="100" style="width: 150px" class="inputxt"  ignore="checked" />
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">学生姓名</label>
						</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							性别:
						</label>
					</td>
					<td class="value">
							  <t:dictSelect field="sex" type="radio"  datatype="n"  typeGroupCode="stu_sex"  defaultVal="${studentPage.sex}" hasLabel="false"  title="性别" ></t:dictSelect>     
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">性别</label>
						</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							出生日期:
						</label>
					</td>
					<td class="value">
							   <input id="birth" name="birth" type="text" style="width: 150px" class="Wdate" onClick="WdatePicker()"  ignore="ignore" />    
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">出生日期</label>
						</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							身份证号码:
						</label>
					</td>
					<td class="value">
					     	 <input id="cardCode" name="cardCode" type="text" maxlength="30" style="width: 150px" class="inputxt"  ignore="ignore" />
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">身份证号码</label>
						</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							手机号码:
						</label>
					</td>
					<td class="value">
					     	 <input id="telphone" name="telphone" type="text" maxlength="20" style="width: 150px" class="inputxt"  datatype="m" ignore="ignore" />
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">手机号码</label>
						</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							家庭住址:
						</label>
					</td>
					<td class="value">
					     	 <input id="address" name="address" type="text" maxlength="100" style="width: 150px" class="inputxt"  ignore="ignore" />
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">家庭住址</label>
						</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							户口所在地:
						</label>
					</td>
					<td class="value">
					     	 <input id="huKou" name="huKou" type="text" maxlength="100" style="width: 150px" class="inputxt"  ignore="ignore" />
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">户口所在地</label>
						</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							所属班级ID:
						</label>
					</td>
					<td class="value">
							<input id="gradId" name="gradId" type="hidden" style="width: 150px" class="inputxt" ignore="ignore"/>
							<input name="gradeName" class="inputxt" value="" id="gradName" readonly="readonly" datatype="*"/>
							<t:choose width="600px" left="300px" top="100px" height="400px" hiddenName="gradId" hiddenid="id" url="gradeController.do?selectList" name="gradeList"
							          icon="icon-search" title="选择班级" textname="gradeName" isclear="true"
							          isInit="true"></t:choose>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							电子邮箱地址:
						</label>
					</td>
					<td class="value">
					     	 <input id="email" name="email" type="text" maxlength="50" style="width: 150px" class="inputxt"  datatype="e" ignore="ignore" />
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">电子邮箱地址</label>
						</td>
				</tr>
				
				
			</table>
		</t:formvalid>
 </body>
